﻿@using HCMS.Extensions
@model List<HCMS.Entities.Manage.Menu>

@foreach (var item in Model)
{
    <button type="submit" class="layui-btn @item.Style" lay-submit lay-filter="@item.ActionName.InitialSmall()">
        @if (!string.IsNullOrWhiteSpace(item.Icon))
        {
            <i class="@item.Icon"></i>
        }

        @item.DisplayName
    </button>
}